<?php echo $header; ?>
<div id="bd" role="main">
    <div id="yui-main">
        <div id="register" class="main-module">    
            <div class="hd"><h2>登录</h2></div>
            <div class="bd">
                <?php if ($success) { ?>
                <div class="success alert"><?php echo $success; ?></div>
                <?php } ?>
                <?php if ($error_warning) { ?>
                <div class="warning alert"><?php echo $error_warning; ?></div>
                <?php } ?>
                
                <form class="form" action="index.php?route=account/login" method="post" enctype="multipart/form-data" id="form-login">
                    <div class="section">
                    <ul class="detail">
                        <li class="clearfix">
                            <label>用户名</label><input type="text" name="email" value="" class="text"/>
                        </li>
                        <li class="clearfix">
                            <label>密码</label><input type="password" name="password" value="" class="text"/>&nbsp;&nbsp;<a class="btn-forget" href="index.php?route=account/forgotten">忘记密码？</a>
                        </li>
                    </ul>
                    </div>
                    <div class="btn form-btn clearfix">
                        <a href="javascript:void()" onclick="$('#form-login').submit();" class="btn-login">登录</a>&nbsp;&nbsp;
                        <a href="index.php?route=account/register" class="btn-reg next">立刻注册</a>
                        <input type="hidden" value="./index.jsp" name="redirect_"/>
                        <input type="hidden" value="<?php echo $redirect; ?>" name="redirect"/>
                    </div>
                    
                </form>
                
            </div>
            <div class="ft"></div>
        </div>
    </div>
</div>
<?php echo $footer; ?>
